
public class ForLoopWithBreakDemo {

	public static void main(String[] args) {
		// Break the loop when i=15

		for(int i=1;i<20;i=i+1)
		{
			if(i==15)
			{
				break;
			}
			System.out.println("Counter ="+i);
		}
	}

}
